$OpenBSD: patch-appinst_cpp,v 1.1.1.1 2016/01/23 16:06:05 landry Exp $
--- appinst.cpp.orig	Wed Nov 26 21:48:29 2014
+++ appinst.cpp	Wed Nov 26 21:48:40 2014
@@ -26,6 +26,7 @@
 #include <errno.h>
 #include <signal.h>
 #include <cstdio>
+#include <sys/stat.h>
 
 #include "appinst.h"
 
